package src.javaStudy.Serialize;

/**
 * @program: AlgorithmTest
 * @description:
 * @author: powerWriter
 * @create: 2019-06-21 15:38
 **/
public class Employee implements java.io.Serializable
{
    public String name;
    public String address;
    public transient int SSN;//transient 声明的属性不会序列化输出
    public int number;
    public void mailCheck()
    {
        System.out.println("Mailing a check to " + name
                + " " + address);
    }
}